package
{
	import flash.display.Sprite;
	public class FirstPage extends Sprite
	{
		private static var _main:FirstPage = null;
		public static function get main():FirstPage
		{
			if(_main==null)
				_main = new FirstPage();
			return _main;
		}
		public function FirstPage()
		{
			_main = this;
			[Embed(source="asset/首页合并.jpg")] var bmp:Class;
			addChild(new bmp);
			width = test.stageW;
			height = test.stageH;
		}

		public static function show():void
		{
			main.visible = true;
			test.main.addChild(main);
		}
		public static function back():void
		{
			main.visible = false;
		}
	}
}
